<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>使用pageContext的include方法引入资源</title>
</head>
<body>
 
	<%
		pageContext.include("/include/head.jsp");
	%>
	<p>使用pageContext的include方法引入资源</p>
	<%
		pageContext.include("/include/foot.jsp");
	%> 
	<hr />

	<jsp:include page="/include/head.jsp" />
	<p>使用jsp:include标签引入资源</p>
	<jsp:include page="/include/foot.jsp" />

	<p>2222include</p>
</body>
</html>